package com.mqr.wallet.vo;

import com.mqr.wallet.domain.WalletInfo;
import com.mqr.wallet.domain.WalletTransaction;

/**
 * <B>主类名称：</B>WalletVO<BR>
 * <B>概要说明：</B>钱包VO对象<BR>
 *
 * @author mqr
 * @since 2023年2月21日 下午12:52:50
 */
public class WalletVO {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 金额
     */
    private Double amount;

    /**
     * 操作类型（收入/支出）
     */
    private Integer operatorType;

    /**
     * 操作来源 0：付款 1；退款 2：充值 3：提现
     */
    private Integer resource;

    /**
     * 备注
     */
    private String remark;

    /**
     * 提现银行类型
     */
    private String cashBankType;

    /**
     * 提现编号
     */
    private String cashNo;

    /**
     * 钱包信息对象
     */
    private WalletInfo walletInfo;

    /**
     * 钱包流水对象
     */
    private WalletTransaction walletTransaction;

    /**
     * 支出提现结果对象
     */
    private CashResult cashResult;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public WalletInfo getWalletInfo() {
        return walletInfo;
    }

    public void setWalletInfo(WalletInfo walletInfo) {
        this.walletInfo = walletInfo;
    }

    public WalletTransaction getWalletTransaction() {
        return walletTransaction;
    }

    public void setWalletTransaction(WalletTransaction walletTransaction) {
        this.walletTransaction = walletTransaction;
    }

    public CashResult getCashResult() {
        return cashResult;
    }

    public void setCashResult(CashResult cashResult) {
        this.cashResult = cashResult;
    }

    public Integer getResource() {
        return resource;
    }

    public void setResource(Integer resource) {
        this.resource = resource;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCashBankType() {
        return cashBankType;
    }

    public void setCashBankType(String cashBankType) {
        this.cashBankType = cashBankType;
    }

    public String getCashNo() {
        return cashNo;
    }

    public void setCashNo(String cashNo) {
        this.cashNo = cashNo;
    }
}
